package com.example.starter.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 方便注入属性值
 * @author zcs
 * @since 2023/3/23
 */
@Data
@ConfigurationProperties(prefix = "animal")
public class AnimalProperties {

    private String name;
}
